{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="{% static 'bootstrap-3.3.7-dist/css/bootstrap.min.css' %}">
    <title>登录页面</title>
</head>
<body>
<form action="{% url 'login'%}" method="POST">
     <div class="form-group" style="height: 60px;">
      {% csrf_token %}
         <h2 class="text-center">欢迎登录</h2>
         {{ login_form }}
         <div class="col-xs-8 col-xs-offset-3">
           <button class="btn btn-primary col-xs-offset-2" id="login" type="submit">登录</button>
            <button class="btn btn-success col-xs-offset-2" id="reset" type="reset">重置</button>
            <div class=" text-danger"></div>
         </div>
      </div>
</form>
</body>
</html>